#include <iostream>
using namespace std;

void swap(int &i, int & j){
	int temp;
	temp=i;
	i=j;
	j=temp;
}

int main(){
		int i,j;
	cout << "Please input two integers :\n";
	cin >> i >>j;

	cout << i << " " << j << endl;
	
	swap(i,j);

	cout << i << " "<<j << endl;
}
